package com.eight.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eight.common.pojo.AclRole;
import com.eight.system.vo.RoleVo;

import java.util.List;

/**
 * @author 向文豪
 * @program: eight-education-parent
 * @description:
 * @date 2023/5/24 20:29
 */
public interface RoleService {
    public List<AclRole> findAll();

    public List<AclRole> findByUserId(String userId);

    Integer confirm(String userId, String[] roleIds);
    Page<AclRole> findPage(Integer currentSize, Integer pageSize, RoleVo roleVo);
    int updateRoleStatusByid(String id ,Integer status);
    int deleteRoleById(String id);
    int addRoleByRle(AclRole aclRole);
    int updateRoleByRole(AclRole aclRole);
}
